package com.wdb.exchange.service;

import java.util.Map;

import com.wdb.exchange.model.ActivityLoginModel;
import com.wdb.exchange.model.InitBookShelfInfoModel;
import com.wdb.exchange.model.PresentAmountModel;
import com.wdb.exchange.model.PresentVIPModel;
import com.wdb.exchange.model.RespModel;
import com.wdb.exchange.model.ReturnBookCount;
import com.wdb.exchange.model.User;
import com.wdb.exchange.model.UserReadRecordModel;

public interface ApiService {

    String echo(String test);
    /**
     * 查询微信对应的用户信息
     * @param usertoken
     * @param userid
     * @param appid
     * @return
     */
    User getWxUserinfoByToken(String usertoken,Long userid,String appid);
    User getUserById(String userId);
    /**
     * 根据userid获取用户当天还书次数
     * @param userid
     * @return
     */
    ReturnBookCount getCurrentDateReturnBookCount(String userid);
    /**
     * 优惠券对应柜子info
     * @param couponRuleId
     * @return
     */
    Map<String, Object> couponBookShelfInfo(String couponRuleId) ;
    /**
     * 活动输入手机号、验证码
     */
    RespModel activityLogin(ActivityLoginModel activityLogin);
    /**
     * 赠送金额
     */
    RespModel presentAmount(PresentAmountModel presentAmount);
    /**
     * 赠送会员
     */
    RespModel presentVIP(PresentVIPModel presentVIP);
    /**
     * 查询会员到期时间
     */
    RespModel userVIPEndDate(String	mobileNo);
    
    /**
     * 查询用户阅读数
     */
    RespModel userReadRecord(Long userid);
    
    /**
     * 初始化机柜
     */
    RespModel initBookshelfInfo(InitBookShelfInfoModel initBookshelfInfo);
    
    
}
